import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex);

const state = {
  HOST: "http://127.0.0.1:8000"
};
const mutations = {
  changeCity(state, newCityName) {
    localStorage.setItem("city", newCityName);
    state.city = newCityName;
  }
};
export default new Vuex.Store({
  state,
  mutations
});
